---
name: MySQL
menu: Connecting to Databases
route: /docs/databases/mysql
index: 19
version: 1
---

## MySQL

The recommended connector library for MySQL is [mysqlclient](https://pypi.org/project/mysqlclient/).

Set up the Connection String using the following settings:

User Name: UserName
Password: DBPassword
Database Host:
- For Localhost or docker running Linux: localhost or 127.0.0.1
- For On Prem: IP address or Host name
- For AWS Endpoint
- For Docker running in OSX: docker.for.mac.host.internal
Database Name: Database Name
Port: default 3306

Connection String
```
mysql://<UserName>:<DBPassword>@<Database Host>/<Database Name>
```
